import axios from '@u/request'
// 用户注册  /user/username/register
const userReg = (params = {}) => {
  return axios.post('/user/username/register', params)
}
// 用户登录
const userLogin = (params = {}) => {
  return axios.post('/user/username/login', params)
}

export {
  userReg,
  userLogin
}